Inside Macintosh: Files

Previous | Chapter Top | Chapter Contents | Next

File Management Reference

This section describes the data structures and routines used in this chapter to illustrate basic file management operations. The section "Data Structures" shows the Pascal data structures for the file system specification record and the standard file reply record. The sections that follow describe the Standard File Package routines for opening and saving documents and the File Manager routines for accessing files, manipulating files and directories, accessing volumes, and getting information about documents to be opened when your application is launched.

For a description of other file-related data structures and routines, see the chapters "File Manager" and "Standard File Package" in this book.

Data Structures

File System Specification Record

Standard File Reply Records

Application Files Records

File Specification Routines

File Access Routines

Reading, Writing, and Closing Files

Manipulating the File Mark

Manipulating the End-of-File

File and Directory Manipulation Routines

Opening, Creating, and Deleting Files

Exchanging the Data in Two Files

Creating File System Specifications

Volume Access Routines

Updating Volumes

Obtaining Volume Information

Application Launch File Routines


© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next